class User:
    count = 0   #类属性

    # def __init__(self):
    #     pass


#python 没有重载 后面的方法覆盖前面的方法
    def  __init__(self,name=None,age=None,sex=None,email=None):
        #成员变量
        self.name = name
        self.age = age
        self.sex = sex
        self.email = email


    def show(self):
        print("show--------------")

        @classmethod
        def show1(cls):
            print("show--------------")

        @staticmethod
        def show2():
            print("show--------------")


class Parent:
    name = "parent"
    def show(self):
                print(f"show-----{self.name}---------")


class Child(Parent):
    age = 20
    def study(self):
        print(f"study----{self.age}----")